#ifndef CRSF_H
#define CRSF_H


#include "main.h"
#include "crsf_protocol.h"

#define CRSF_CONNETED   1
#define CRSF_DISCONNECT 0

extern uint16_t crsf_channels[CRSF_NUM_CHANNELS];
	

void crc8_init(void);
void  CRSF_handle_uart_in(void);
uint8_t CRSF_get_state(void);

#endif
